package com.ruoyi.merchant.mapper;

import com.ruoyi.common.core.cg.pojo.Order;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderMapper {
    //查询已提货的订单数额
    int  selectOrderByStatus(int leaderId);
    //查询未提货的订单数额
    int  selectOrderByStatus1(int leaderId);
    //查询订单列表
    List<Order> selectOrderList(int leaderId,String reservedName,String reservedPhone,boolean fal);

    //查询订单 status = 1
    List<Order> dtoListStatus(Integer lid);


    //查询订单 status = 0
    List<Order> dtoList(Integer lid);
}
